<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>信息主页</title>
    <link rel="stylesheet" href="https://unpkg.com/element-ui@2.6.3/lib/theme-chalk/index.css">
</head>
<body>
<div id="app">
    <el-button plain>添加信息</el-button>
</div>
<div id="info" >
    <template>
        <el-table :data="list1" style="width: 100%">
            <el-table-column prop="id" label="id" width="180">
                <template slot-scope="scope">${id!''}</template>
            </el-table-column>
            <el-table-column prop="itemName" label="项目名称" width="180">
                <template slot-scope="scope">${itemName!''}</template>
            </el-table-column>
            <el-table-column prop="itemMoney" label="项目金额">
                <template slot-scope="scope">${itemMoney!''}</template>
            </el-table-column>
            <el-table-column prop="itemRemark" label="项目备注">
                <template slot-scope="scope">${itemRemark!''}</template>
            </el-table-column>
            <el-table-column prop="itemProgr" label="项目注意事项">
                <template slot-scope="scope">${itemProgr!''}</template>
            </el-table-column>
            <el-table-column prop="itemPayAttention" label="项目负责人员">
                <template slot-scope="scope">${itemPayAttention!''}</template>
            </el-table-column>
            <el-table-column fixed="right" label="操作">
                <template slot-scope="scope">
                    <el-button @click="handleClick(scope.row)" type="text" size="small">删除</el-button>
                    <el-button @click="handleAduit(scope.row)" type="text" size="small">编辑</el-button>
                </template>
            </el-table-column>
        </el-table>
    </template>
</div>
</body>
<script src="https://cdn.bootcss.com/vue-resource/1.5.1/vue-resource.min.js"></script>
<script src="https://unpkg.com/vue/dist/vue.js"></script>
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<script>
    var Main = {
        data() {
                 return {
                     tableData: [{
                         date: '2016-05-02',
                         name: '王小虎',
                         address: '上海市普陀区金沙江路 1518 弄'
                   }]
                 }
        }
    }
    var Ctor = Vue.extend(Main)
    new Ctor().$mount('#info')
    new Ctor().$mount('#app')


</script>
</html>